import fly from '../utils/request'
// 获取用户频道列表
export const getChannels=()=>{
    return fly.get('/user/channels')
}
// 频道新闻推荐
export const getArticles=(channel_id,data)=>{
    return fly.get(`/articles?channel_id=${channel_id}`,data)
} 